{include file="lib/header.html"}
<!--main-->
<div id="main">
  {include file="lib/history.html"}
	<div class="breadcrumb"><a href="?url=index">首页</a> <img src="images/i.png" class="ico"> <a href="?url=administrator">管理员</a> <img src="images/i.png" class="ico"> <a href="?url=administrator/create">创建管理员</a> </div>
	<form action="?url=administrator/create" method="post" accept-charset="utf-8">
	<input type="hidden" name="action" value="model">
	<div class="clearfix m10">
		<div class="sidebar">
			<div class="clearfix m10"><input name="" type="button" class="fr btn_fb" onclick="submit()"></div>
		</div>
		<div class="center">
			<div class="input_title mt10">
				用户名：<input name="info[name]" type="text">
			</div>
			<div class="input_title mt10">
				别名：<input name="info[nickname]" type="text">
			</div>
			<div class="input_title mt10">
				密码：<input name="info[password]" type="text">
			</div>
			<div class="input_title mt10">
			  {foreach Config::get('menu') as $val}
			    <p>{$val@key} :</p>
			    {foreach $val as $v}
			      {if strpos($v, '/') == false}
			        <p>{$v@key}: 无权限<input type="radio" name="permission[{$v}]" value="0" checked> 读<input type="radio" name="permission[{$v}]" value="1"> 改<input type="radio" name="permission[{$v}]" value="3"> 删<input type="radio" name="permission[{$v}]" value="7"></p>
			      {/if}
			    {/foreach}
			  {/foreach}
			</div>
		</div>
	</div>
	</form>
</div>
<!--/main-->
{include file="lib/footer.html"}